package com.chenl.provider.util.mybatisFilter;

public abstract class ErrorCode {
    public static String OPS_PRE = "01";
    public static String SHOP_PRE = "02";
    public static String MALL_PRE = "03";
    public static String MC_PRE = "10";
    public static String PC_PRE = "11";
    public static String UC_PRE = "12";
    public static String TC_PRE = "13";
    public static String SC_PRE = "14";
    public static String CC_PRE = "15";
    public static String STC_PRE = "16";
    public static String SSO_PRE = "17";
    public static String DC_PRE = "18";
    public static String CCLT_PRE = "19";
    public static String ITEM_PRE = "20";
    public static String PTMC_PRE = "21";
    public static String AUTH_PRE = "22";
    public static String FUN_PRE = "23";
    public static String BSC_PRE = "24";
    public static String DCOP_BS = "26";
    public static String DCOP_IS = "27";
    public static String SYS_PRE = "30";
    public static String OTHER_PRE = "50";
    public static String DUPLICATION = "000";
    public static String NOTFOUND = "001";
    public static String DATA_ILLEGAL = "002";
    public static String DATA_MISSING = "003";
    public static String JSON_FORMAT = "004";
    public static String EXTERNAL_ERROR = "005";
    public static String CODE = "000000";
    public static String PSD_PRE = "31";
    public static String IBP_PRE = "32";
    public static String ISG_PRE = "33";
    public static String TPS_PRE = "34";
    public static String PPD_PRE = "35";
    public static String PCD_PRE = "36";

    public ErrorCode() {
    }

    public static String ops(String code) {
        return OPS_PRE + code;
    }

    public static String mall(String code) {
        return MALL_PRE + code;
    }

    public static String shop(String code) {
        return SHOP_PRE + code;
    }

    public static String pc(String code) {
        return PC_PRE + code;
    }

    public static String uc(String code) {
        return UC_PRE + code;
    }

    public static String tc(String code) {
        return TC_PRE + code;
    }

    public static String sc(String code) {
        return SC_PRE + code;
    }

    public static String stc(String code) {
        return STC_PRE + code;
    }

    public static String cc(String code) {
        return CC_PRE + code;
    }

    public static String dc(String code) {
        return DC_PRE + code;
    }

    public static String mc(String code) {
        return MC_PRE + code;
    }

    public static String sso(String code) {
        return SSO_PRE + code;
    }

    public static String cclt(String code) {
        return CCLT_PRE + code;
    }

    public static String item(String code) {
        return ITEM_PRE + code;
    }

    public static String ptmc(String code) {
        return PTMC_PRE + code;
    }

    public static String sys(String code) {
        return SYS_PRE + code;
    }

    public static String other(String code) {
        return OTHER_PRE + code;
    }

    public static String psd(String code) {
        return PSD_PRE + code;
    }

    public static String ibp(String code) {
        return IBP_PRE + code;
    }

    public static String isg(String code) {
        return ISG_PRE + code;
    }

    public static String tps(String code) {
        return TPS_PRE + code;
    }

    public static String ppd(String code) {
        return PPD_PRE + code;
    }

    public static String pcd(String code) {
        return PCD_PRE + code;
    }

    public static String auth(String code) {
        return AUTH_PRE + code;
    }

    public static String fun(String code) {
        return FUN_PRE + code;
    }

    public static String bsc(String code) {
        return BSC_PRE + code;
    }

    public static String dbs(String code) {
        return DCOP_BS + code;
    }

    public static String dis(String code) {
        return DCOP_IS + code;
    }
}
